home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / elsaview.zip / ELSAVIEW.DCL < prev    next >
Text File  |  1992-09-13  |  7KB  |  330 lines

  1. //    ELSAVIEW.DCL  Version 1.0
  2. //
  3. //    Copyright (C) 1992 by ELSA America, Inc.
  4. //         
  5. //    This file is intended for use with the product ELSAVIEW.EXP.
  6. //    Any changes to this file not suggested and results may be 
  7. //    unpredictable.  Only advanced users should tamper with this file.
  8. //
  9. //    THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED
  10. //    WARRANTY.  ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR
  11. //    PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.
  12.  
  13. //    This file should not be modified when used with AutoCAD.
  14. //    Modification to the dialogue definitions can have serious adverse
  15. //    effects on the use of the product.  
  16.  
  17. //    dcl_settings : default_dcl_settings { audit_level = 3; }
  18.  
  19. viewer : dialog {
  20.    aspect_ratio = 0;
  21.    label = "ELSA-View";
  22.    :row{
  23.       :button{
  24.          label = "Insert";
  25.          key   = "insert";
  26.       }
  27.       :button{
  28.          label = "Open";
  29.          key   = "open";
  30.       }
  31.       :button{
  32.          label = "Zoom Extents";
  33.          key   = "ze";
  34.       }
  35.       :button{
  36.          label = "Findit...";
  37.          key = "finder";
  38.       }
  39.       :button{
  40.          label = "Sort by...";
  41.          key = "sort";
  42.          fixed_width = true;
  43.       }
  44.       :button{
  45.          label = "About...";
  46.          key = "about";
  47.          fixed_width = true;
  48.       }
  49.    }
  50.    :row{
  51.       :image_button{
  52.          color = -2;
  53.          key = "the_image";
  54.          width  = 51;
  55.          height = 20;
  56.  
  57.       }
  58.       :list_box{
  59.          label = " Drawings  ";
  60.          height = 18;
  61.          width = 9;
  62.          fixed_width = true;
  63.          key = "the_list";
  64.       }
  65.       :column{
  66.          :list_box{
  67.             label = "Directory ";
  68.             key = "the_dir";
  69.             width = 11;
  70.             height = 17;
  71.             fixed_width = true;
  72.          }
  73.          :row{
  74.             :text{
  75.                label = "Disk";
  76.             }
  77.             :popup_list{
  78.                key  = "drives";
  79.                edit_width = 2;
  80.                width = 2;
  81.                fixed_width = true;
  82.             }
  83.          }
  84.       }
  85.    }
  86.    :row{
  87.       :text{
  88.          label = "No Active Drawing";
  89.          key = "the_name";
  90.          width = 25;
  91.       }
  92.    }
  93.    :row{
  94.       :row{
  95.          fixed_width = true;
  96.          :text{
  97.             label = "Date:";
  98.             width = 5;
  99.          }
  100.          :text{
  101.             label = "        ";
  102.             key = "date";
  103.             width = 8;
  104.          }
  105.          
  106.          :text{
  107.             label = "Time:";
  108.             width = 5;
  109.          }
  110.          :text{
  111.             label = "     ";
  112.             key = "time";
  113.             width = 5;
  114.          }
  115.          
  116.          :text{
  117.             label = "Size:";
  118.             width = 5;
  119.          }
  120.          :text{
  121.             label = "      ";
  122.             key = "size";
  123.             width = 8;
  124.          }
  125.       }
  126.       :edit_box{
  127.          label = "File:";
  128.          key = "edname";
  129.          fixed_width = true;
  130.          width = 30;
  131.       }
  132.    }
  133.    :row{
  134.       :edit_box{
  135.          label = "Notes:";
  136.          key = "notes";
  137.          width = 65;
  138.          fixed_width = true;
  139.       }
  140.       cancel_button;
  141.    }
  142. }
  143.  
  144. test : dialog {
  145.    label = "Enter Pattern";
  146.    : radio_row {
  147.       : radio_button {
  148.          label = "Block";
  149.          key = "fblock";
  150.       }
  151.       : radio_button {
  152.          label = "Layer";
  153.          key = "flayer";
  154.       }
  155.       : radio_button {
  156.          label = "Text";
  157.          key = "ftext";
  158.       }
  159.    }
  160.    :edit_box{
  161.       key = "filter";
  162.    }
  163.    ok_cancel;
  164. }
  165.  
  166. spat : dialog {
  167.    label = "Finder";
  168.    :edit_box{
  169.       label = "File name:  ";
  170.       key = "ff_filename";
  171.       value = "*.DWG";
  172.       width = 55;
  173.    }
  174.    :edit_box{
  175.       label = "Containing: ";
  176.       key = "ff_filter";
  177.       width = 55;
  178.    }
  179.    :row{
  180.       children_alignment = top;
  181.       :column{
  182.          : radio_column {
  183.             fixed_height = true;
  184.             :radio_button {
  185.                label = "Current directory";
  186.                value = "1";
  187.                key = "ff_search0";
  188.             }
  189.             :radio_button {
  190.                label = "Entire drive";
  191.                key = "ff_search1";
  192.             }
  193.             :radio_button {
  194.                label = "All drives";
  195.                key = "ff_search2";
  196.             }
  197.          }
  198.          : button {
  199.             label = "Start";
  200.             key = "ff_accept";
  201.          }
  202.          : button {
  203.             label = "Cancel";
  204.             is_cancel = true;
  205.             key = "ff_cancel";
  206.          }
  207.       }
  208.       :list_box{
  209.          height = 8;
  210.          width = 45;
  211.          fixed_width = true;
  212.          key = "ff_findlist";
  213.       }
  214.    }
  215.    :row{
  216.       :text{
  217.          label = "Current directory:";
  218.       }
  219.       :text{
  220.          key = "ff_curdir";
  221.          width = 45;
  222.       }
  223.    }
  224.    :row{
  225.       :text{
  226.          label = "Status:";
  227.       }
  228.       :text{
  229.          width = 45;
  230.          key = "ff_status";
  231.       }
  232.    }
  233. }
  234.  
  235. about: dialog {
  236.    :paragraph{
  237.       width = 40;
  238.       :text_part{
  239.          key = "line1";
  240.       }
  241.       :text_part{
  242.          key = "line2";
  243.       }
  244.       :text_part{
  245.          key = "line3";
  246.       }
  247.       :text_part{
  248.          key = "line4";
  249.       }
  250.       :text_part{
  251.          key = "line5";
  252.       }
  253.       :text_part{
  254.          key = "line6";
  255.       }
  256.       :text_part{
  257.          key = "line7";
  258.       }
  259.       :text_part{
  260.          key = "line8";
  261.       }
  262.       :text_part{
  263.          key = "line9";
  264.       }
  265.       :text_part{
  266.          key = "line10";
  267.       }
  268.       :text_part{
  269.          key = "line11";
  270.       }
  271.       :text_part{
  272.          key = "line12";
  273.       }
  274.    }
  275.    cancel_button;
  276. }
  277.  
  278.  
  279. sort : dialog {
  280.       label = "Sort by";
  281.    : radio_column {
  282.       fixed_height = true;
  283.       :radio_button {
  284.          label = "Name";
  285. //       value = "1";
  286.          key = "ss_name";
  287.       }
  288.       :radio_button {
  289.          label = "Date";
  290.          key = "ss_date";
  291.       }
  292.       :radio_button {
  293.          label = "Size";
  294.          key = "ss_size";
  295.       }
  296.    }
  297.    ok_cancel;
  298. }
  299.  
  300. dwgmod : dialog {
  301.    label = "Drawing Modification";
  302.    initial_focus = "save";
  303.    : column {
  304.        : text {
  305.            label = "The current drawing has been changed.";
  306.            alignment = centered;
  307.        }
  308.        : row {
  309.            : button {
  310.                label ="Save Changes...";
  311.                is_default = true;
  312.                mnemonic = "S";
  313.                key = "save";
  314.            }
  315.            : button {
  316.                label = "Discard Changes";
  317.                mnemonic = "D";
  318.                key = "discard";
  319.            }
  320.            : button {
  321.                label = "Cancel Command";
  322.                is_cancel = true;
  323.                mnemonic = "C";
  324.                key = "cancel";
  325.            }
  326.        }
  327.    }
  328. }
  329.  
  330.